/*
 * TraceCache.h
 *
 *  Created on: 11-Nov-2012
 *      Author: Niranjana
 */

#ifndef TRACECACHE_H_
#define TRACECACHE_H_

typedef struct{

}tracedInstrutionType;

typedef struct{
	tracedInstrutionType *instructions;
	unsigned int numIstructions;
	unsigned int numBranches;
	bool endingWithBranch;
	unsigned int fallThoughAddress, targetAddress;
	unsigned int tag;
	unsigned int branchMask, branchFlags;
}traceCacheEntryType;

class TraceCache {
private:
	unsigned int totalSize, assoc, numLines;
	unsigned int traceLengthN, numBranchesM;
	traceCacheEntryType *trace;
public:
	TraceCache();
	virtual ~TraceCache();
};

#endif /* TRACECACHE_H_ */
